<template>
  <div class="overview-card padding margin">
    <div class="card-header">
      <slot name="title"></slot>
      <slot name="more"></slot>
    </div>
    <hr class="divider" />
    <div class="card-content">
      <slot name="content"></slot>
    </div>
  </div>
</template>

<script>
export default {
  name: 'OverviewCard'
}
</script>

<style scoped>
.overview-card {
  border-radius: 8px;
  background-color: var(--white-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-header {
  display: flex;
  justify-content: space-between;
}

.divider {
  border: none;
  border-top: 1px solid var(--gray-color);
  margin: 10px 0;
}

.card-content {
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.info-value {
  font-size: 18px;
  font-weight: bold;
}

.info-label {
  color: #999;
}
</style>
